package com.ming.reggie.dto;

import com.ming.reggie.entity.Dish;
import com.ming.reggie.entity.DishFlavor;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 黑马程序员
 * Dto = Data Transfer Object, 一般用于表现层封装来自前端的数据对象
 */
@Data
public class DishDto extends Dish {

    private List<DishFlavor> flavors = new ArrayList<>();

    //菜品分类名称
    private String categoryName;

    private Integer copies;
}
